package com.xce.order.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @ClassName AccountFeign
 * @Description TODO
 * @Author lld
 * @Date 2025/7/10 2:55
 * @Version 1.0
 */
@FeignClient(value = "seata-account")
public interface AccountFeign {

    @GetMapping("/debit")
    public String debit(@RequestParam("userId") String userId, @RequestParam("money") int money);
}
